package link.cocoon.security.dto;

import java.util.List;
import javax.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author xce
 * @date 2020/2/24  14:15
 */
@Data
public class RoleDTO {

  private Long id;
  @NotBlank(message = "角色英文标识不允许为空")
  private String name;
  @NotBlank(message = "角色中文标识不允许为空")
  private String nameZh;
  private List<Long> permissionIds;

}
